home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / UTILENUS / ALT1241.LZH / INSTALL.BAT < prev    next >
DOS Batch File  |  1989-05-30  |  5KB  |  106 lines

  1. echo off                                                                        
  2. cls                                                                             
  3. echo  ╔═════════════════════════════════════════════════════════════════╗
  4. echo  ║   This program copies  ALT  Shareware onto your hard disk.  It  ║ 
  5. echo  ║   will complete the following steps:                            ║
  6. echo  ║                                                                 ║
  7. echo  ║   *  Create a directory \ALT.                                   ║
  8. echo  ║                                                                 ║
  9. echo  ║   *  Copy all files on the disk to the directory \ALT.          ║
  10. echo  ║                                                                 ║
  11. echo  ║   *  The compressed files in ALT.ARC will be uncrunched with    ║
  12. echo  ║      the command    ARKE  ALT                                   ║
  13. echo  ║                                                                 ║
  14. echo  ║   *  The CONFIG.SYS and AUTOEXEC.BAT files are NOT altered.     ║
  15. echo  ║                                                                 ║
  16. if %1*==* goto BADDRIVE
  17. if %1==c: goto OK
  18. if %1==C: goto OK
  19. if %1==d: goto OK
  20. if %1==D: goto OK
  21. if %1==e: goto OK
  22. if %1==E: goto OK
  23. if %1==f: goto OK
  24. if %1==F: goto OK
  25. if %1==g: goto OK
  26. if %1==G: goto OK
  27. goto BADDRIVE     
  28. :OK               
  29. echo  ║                    ALT WILL BE INSTALLED ON DRIVE %1            ║
  30. echo  ║                    ─────────────────────────────────            ║     
  31. echo  ║   NOTE: 600,000 bytes of free disk space are required to        ║
  32. echo  ║        load and use ALT.                                        ║      
  33. echo  ║                                                                 ║
  34. echo  ║   * If you do not wish to continue with the installation,       ║
  35. echo  ║     press Ctrl-Break                                            ║
  36. echo  ╚═════════════════════════════════════════════════════════════════╝
  37. pause
  38. cls
  39. echo Checking for ALT on default drive....
  40. if exist ALT.ARC goto CONT1
  41. echo  ╔═════════════════════════════════════════════════════════════════╗
  42. echo  ║                                                                 ║
  43. echo  ║   Please make Drive containing the ALT disk the default drive.  ║
  44. echo  ║                                                                 ║
  45. echo  ╚═════════════════════════════════════════════════════════════════╝
  46. goto END
  47. :CONT1
  48. cls
  49. echo Creating directory %1\ALT...      
  50. md %1\ALT
  51. echo ─────────────────────────────────────────────────────────────────────────────
  52. echo Copying ALT.ARC to %1\ALT...
  53. copy ALT.ARC %1\ALT
  54. echo Copying READ.ME to %1\ALT
  55. copy READ.ME %1\ALT
  56. echo Copying ARKE.COM to %1\ALT
  57. copy ARKE.COM %1\ALT
  58. %1
  59. cd %1\ALT
  60. echo Uncrunching ALT.ARC  ...
  61. echo ─────────────────────────────────────────────────────────────────────────────
  62. ARKE -r ALT >nul
  63. echo  ╔════════════════════════════════════════════════════════════════╗
  64. echo  ║                               ALT                              ║
  65. echo  ║                                                                ║
  66. echo  ║            Copyright (C) 1987,88,89 INSTINCT Software          ║
  67. echo  ║                  11311 N. Central Expy Suite 300               ║
  68. echo  ║                          Dallas, Texas                         ║
  69. echo  ║                               75243                            ║
  70. echo  ║                                                                ║
  71. echo  ║     Order (214) 739-5543   BBS Support Line (214) 368-2709     ║
  72. echo  ║                                                                ║
  73. echo  ║   ALT is installed.  ALT can be started by going to the        ║
  74. echo  ║   \ALT directory and entering in  ALT, or from another         ║
  75. echo  ║   directory and entering in  ALT as long as ALT.EXE can        ║
  76. echo  ║   be found in the current PATH.                                ║
  77. echo  ║                                                                ║
  78. echo  ║   Once  ALT is loaded into memory a VERY short tap on the ALT  ║
  79. echo  ║   key will bring up the  ALT main menu.                        ║
  80. echo  ║                                                                ║
  81. echo  ╚════════════════════════════════════════════════════════════════╝
  82. pause
  83. cls
  84. type manual.doc | more /p
  85. pause
  86. echo  ╔════════════════════════════════════════════════════════════════╗
  87. echo  ║                                                                ║
  88. echo  ║   ALT will now be started.  If you do not want to execute      ║
  89. echo  ║   ALT, press  Ctrl-Break.                                      ║
  90. echo  ║                                                                ║
  91. echo  ╚════════════════════════════════════════════════════════════════╝
  92. pause
  93. ALT
  94. goto END
  95. :BADDRIVE
  96. echo  ╚═════════════════════════════════════════════════════════════════╝
  97. echo  .
  98. echo  ╔═════════════════════════════════════════════════════════════════╗
  99. echo  ║                                                                 ║
  100. echo  ║     You must specify a hard disk drive, as in   INSTALL C:      ║
  101. echo  ║           You may use drive C:, D:, E:, F:, or G:.              ║
  102. echo  ║                                                                 ║
  103. echo  ╚═════════════════════════════════════════════════════════════════╝
  104. :END
  105.  
  106.